<div style="height: 100%;">
  <div class="row" style="height: 40px;">
    <div class="col-3">完成时间</div>
    <div class="col-9">
      <p-calendar
        [(ngModel)]="dueDate"
        [inputStyle]="{ width: '300px' }"
        name="dueDate"
        dateFormat="yy-mm-dd"
        [showIcon]="true"
      ></p-calendar>
    </div>
  </div>
  <div class="row">
    <div class="col-lg-12">
      <button
        type="button"
        class="btn btn-sm btn-success float-right"
        (click)="save()"
        [disabled]="!dueDate"
        [buttonBusy]="saving"
        [busyText]="'记录数据中...'"
      >
        <i class="fa fa-check-circle"></i> <span>记录数据</span>
      </button>
    </div>
  </div>
</div>
